﻿@model AFT.Parking.Entity.MallLocation

@{
    ViewBag.Title = "添加商铺信息";
    Layout = "~/Views/Shared/_Layout.cshtml";
}

<div class="content-box">
    <div class="content-box-header">
        <h3 style="cursor: s-resize">添加 @ViewBag.MallAreaName 店铺信息</h3>
        <div class="clear"></div>
    </div>
    
    <div class="content-box-content">
        <div class="tab-content default-tab" id="tab2">
            <form method="POST" id="frm">
                <fieldset>
                    <p>
                        <label>商铺名称</label>
                        @Html.TextBox("Name",Model.Name,new{@class="text-input medium-input"})
                        @Html.TextBox("MallAreaId", Model.MallAreaId, new { @type="hidden" })
                        <input type="hidden" value="@Model.MallAreaId"/>
                    </p>
                    <p>
                        <label>经纬度 (X-Y)</label>
                        @Html.TextBox("LocationX", Model.LocationX, new { @class = "text-input small-input" })
                        -
                        @Html.TextBox("LocationY", Model.LocationY, new { @class = "text-input small-input" })
                        <br />
                        <small>分别输入经度-纬度，小数格式。</small>
                        @*<span class="input-notification error png_bg">Error message</span>*@
                    </p>
                    <p>
                        <label>岔口</label>
                        @Html.CheckBox("IsFork",Model.IsFork)
                    </p>
                    <p>
                        <label>启用</label>
                        @Html.CheckBox("IsEnable",Model.IsEnable)
                    </p>
                    <p>
                        <input class="button" type="submit" id="btnSubmit" value=" 保 存 " />
                        <input class="button" type="button" id="btnBack" value=" 返 回 " /> <br />
                        <span class="input-notification @ViewBag.Icon png_bg">@ViewBag.Message</span>
                        <input type="hidden" id="hd_backUrl" value="/mallLocation/mallLocations?mallAreaId=@Model.MallAreaId">
                    </p>
                </fieldset>
                <div class="clear"></div>
            </form>
        </div>
    </div>
</div>
